home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11508 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: EU.net!sun4nl!xs4all!falstaff
  2. From: falstaff@xs4all.nl (Falstaff)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: MACRO Exploder - SOURCE CODE
  5. Date: 24 Mar 1996 20:56:30 GMT
  6. Organization: XS4ALL, networking for the masses
  7. Message-ID: <4j4ctu$agq@news.xs4all.nl>
  8. References: <4j3vjl$272@ocean.CAM.ORG>
  9. NNTP-Posting-Host: xs1.xs4all.nl
  10. Keywords: C, MACRO, SOURCE CODE
  11. X-Newsreader: NN version 6.5.0 #666 (NOV)
  12.  
  13. p_lamy@CAM.ORG (Philippe Lamy) writes:
  14.  
  15. >Hi,
  16.  
  17. >I'm looking for SOURCE CODE in C or C++ (on any platform) that would parse a C 
  18. >file and explode MACROS the C source contains...
  19.           ^^^^^^^
  20.           I'm assuming you mean 'expand' here.  Many programs (COBOL compilers,
  21.           perhaps) may explode when fed C source :-)
  22.  
  23. >Does anybody know where I can find this ?
  24.  
  25. This program is called cpp and available everywhere (on UNIXes, at least).
  26. Alternatively, you can use cc -E which (again, on UNIX) does the same.
  27. On other systems, you may be lucky in that the -E switch may be implemented.
  28.  
  29. Frank
  30. --
  31. The famous GIICM now on line:  http://www.xs4all.nl/~falstaff/GIICM.html
  32. ------------------------------------------------------------------------
  33. Frank A. Vorstenbosch        +31-(70)-355 5241        falstaff@xs4all.nl
  34.